package com.xiaoshuidi.cloud.module.rooms.controller.admin.estimate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 房屋勘测
 *
 * @Author Feng
 * @date 2023/5/27
 */
@Data
@Schema(description = "调查信息")
public class SurveyInfoVo {
    /**
     * 项目名
     */
    @Schema(description = "项目名")
    private String project;
    /**
     * 类型 1硬装 2家具 3家电
     */
    @Schema(description = "类型 1硬装 2家具 3家电")
    private String type;
    /**
     * 系数
     */
    @NotNull(message = "系数不能为空")
    @Min(value = 0, message = "系数不能小于0")
    @Max(value = 1, message = "系数不能大于1")
    @Schema(description = "系数")
    private double factor;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
}
